#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
    int B,A;
    cout << "A=";
    cin >>A;
    cout << "B=";
    cin >>B;
    if (A!=B)
    {
        if (A>B) B=A;
        if (B>A) A=B;
    }
    else
    {
        A=0;
        B=0;
    }
cout <<"Otvet: "<< endl<< "A = " << A << "\nB = " << B <<endl;
return 0;
}
